package de.tum.in.msspp.graph;

import android.graphics.Bitmap;

public class Node{

	int id;
	String name;//Name of the user
	String identifier;//Id of the user
	Bitmap thumbnail;
	
	boolean isNew;
	
	/**
	 * Only used by Parser
	 */
	public Node()
	{
		super();
		
		isNew=false;
	}
	
	/**
	 * 
	 * @param id - unique id in graph
	 * @param name - name of the person
	 * @param identifier - identifier of the person (currently same as name)
	 * @param thumbnail - thumbnail of the person
	 */
	public Node(int id, String name, String identifier, Bitmap thumbnail) {
		super();
		this.id = id;
		this.name = name;
		this.identifier = identifier;
		this.thumbnail = thumbnail;
		
		isNew=false;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public Bitmap getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(Bitmap thumbnail) {
		this.thumbnail = thumbnail;
	}
}
